.anchor-fix {
    display: block;
    height: 20px; /*same height as header*/
    margin-top: -20px; /*same height as header*/
    visibility: hidden;
}

#toc {
    float: right;
    border:1px solid #e2e2e2;
    background: #eee;
    padding: 8px 12px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ddd;
    max-width: 250px;
    min-width: 90px;
    font-size: 12px;
    margin-left: 5px;
    margin-bottom: 2px;
}

@media (max-width: 767px) {
    #toc {
        display: none;
    }
}

#toc ul {
    padding-left: 1em;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#toc-head {
    display: flex;
    flex: 1;
    font-weight: bold;
    justify-content: space-between;
    cursor: pointer;
}
